Adding objects to the Object palette

Dreamweaver automatically adds any files that are inside one of the subfolders in the Configuration/Objects folder to the panel associated with the subfolder. For example, a file inside the Configuration/Objects/MyObjects folder would appear on the MyObjects panel of the Object palette.

Note: Although object files can be stored in separate folders, it's important that their file names be unique. The dom.insertObject() function, for example, looks for a specified file anywhere within the Objects folder without regard to subfolders. If a file called Button.htm exists in the Forms folder and also in the MyObjects folder, Dreamweaver cannot distinguish between them.

Each object file has an associated 18-pixel by 18-pixel GIF image that appears in the Object palette. The image file must have the same base name as the object file (for example, object.gif is associated with object.htm) to ensure that the files remain connected.

If you create a larger object image, Dreamweaver will scale it to 18 pixels by 18 pixels. If you do not create an image for your object, a broken image icon appears in the Object palette.